package com.competition.jingdong;

import java.util.HashMap;

//订单
//,订单号,SKU编码,数量
public class Order {
    int orderNo;
    //商品skuNo,数量
    HashMap<Integer, Integer> skuNo_count;
    Order(int orderNo,HashMap<Integer, Integer> skuNo_count)
    {
        this.orderNo=orderNo;
        this.skuNo_count = skuNo_count;
    }

    @Override
    public String toString() {
        return "Order{" +
                "orderNo=" + orderNo +
                ", skuNo_count=" + skuNo_count.toString() +
                '}';
    }

}
